

<body onload="initReport()">
<div id=top>
	<div id="collapse_top">
		<div id=top_header>
			<p id=title>Htcap <span id=htcap_version></span> Report</p>
			<hr>
			<table id=infos>
				<tr><td nowrap>Target:</td><td id=infos_target></td></tr>
				<tr><td nowrap>Crawl date:</td><td id=infos_scan_date></td></tr>
				<tr><td nowrap>Pages crawled:</td><td id=infos_scanned_urls></td></tr>
				<tr><td nowrap>Crawl duration:</td><td id=infos_scan_time></td></tr>
				<tr><td nowrap>Out of scope:</td><td>
					<span id=infos_outofscope></span> 
					<span class=button id=outofscope-open>open</span>
				</td></tr>
				<tr><td nowrap>Non HTML:</td><td>
					<span id=infos_nonhtml></span> 
					<span class=button id=nonhtml-open>open</span>
				</td></tr>
				<tr><td nowrap>Command:</td><td id=infos_commandline></td></tr>
			</table>

		</div>
	</div>
	<hr>

	<div id=filtersbox>
		<form>
			<div>
				<span><input type=checkbox id=allfilters> <b>Show:</b> </span> <span id=filters></span>
			</div>
			<table>
				<tr>
					<td>Hide Urls: <p class="hidden addregexp" id=add_url_regexp>add selected</p></td>
					<td><textarea id=urlhider tabindex=1  title='write here a regexp to hide matched urls'></textarea></td>
					<td>&nbsp;</td>
					<td>Hide Results: <p class="hidden addregexp" id=add_result_regexp>add selected text</p></td>
					<td><textarea id=reshider tabindex=2 title='write here a regexp to hide matched results'></textarea></td>
				</tr>
			</table>
		</form>
	</div>
	<div id=buttons>
		<span class=button id=notes-open>open notes</span>
		<span class=button id=marked-open>open marked</span>
		<span class=button id=trash-open>open trash</span>
		<span class=button-spacer>&nbsp;</span>
		<span class=button id=collapse-all>collapse all</span>
		<span class=button id=expand-visibles>expand visibles</span>
		<span class=button-spacer>&nbsp;</span>
		<label for="load_status_input" class=button>load session</label><input style='display:none' type=file id="load_status_input">
		<span class=button id=save-status>save session</span>
		<span id=save_status class="hidden">
			<input type=text placeholder="htcap_report_status.json"> <a class=button href="" download="">save</a>
		</span>
		<span id=error_container></span>

	</div>
	<hr>
</div>

<div id=report></div>


<div id=marked class="modal hidden">
	<div class=modal-bar>
		Marked
		<div id='marked-close' title=close>&#215;</div>
	</div>
	<div class=modal-content></div>
</div>


<div id=trash class="modal hidden">
	<div class=modal-bar>
		Trash
		<div id='trash-close' title=close>&#215;</div>
	</div>
	<div class=modal-content></div>
</div>


<div id=notes class="modal hidden">
	<div class=modal-bar>
		Notes
		<div id='notes-close' title=close>&#215;</div>
	</div>
	<div class=modal-content>
		<textarea></textarea>
	</div>
</div>



<div id=outofscope class="modal hidden">
	<div class=modal-bar>
		Out of scope
		<div id='outofscope-close' title=close>&#215;</div>
	</div>
	<div class=modal-content></div>
</div>

<div id=nonhtml class="modal hidden">
	<div class=modal-bar>
		Non HTML Documents
		<div id='nonhtml-close' title=close>&#215;</div>
	</div>
	<div class=modal-content></div>
</div>



<div id=vulnerability class="modal hidden">
	<div class=modal-bar>
		Vulnerability Details
		<div id='vulnerability-close' title=close>&#215;</div>
	</div>
	<div class=modal-content></div>
</div>


<div id=request class="modal hidden">
	<div class=modal-bar>
		Request Details
		<div id='request-close' title=close>&#215;</div>
	</div>
	<div class=modal-content></div>
</div>

</body>

